package com.example.last.dao;

import com.example.last.entity.Audit;
import com.example.last.entity.Params;
import com.example.last.entity.Propagate;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PropagateDao {

    List<Propagate> findBySearch(@Param("params") Params params);

    void add(Propagate propagate);

    void update(Propagate propagate);

    void delete(Integer id);

    List<Propagate> findAll();

    Propagate findById(Integer id);

    List<Propagate> findAllData();
}